package com.caiheng.api.service.product;

import com.caiheng.api.entity.product.ProductCart;
import com.caiheng.api.entity.dto.ProductCartDto;
import com.caiheng.api.service.base.BaseService;

import java.util.List;

/**
 * 购物车Service接口
 *
 * @author ruoyi
 * @date 2021-08-11
 */
public interface ProductCartService extends BaseService<ProductCart> {

    List<ProductCart> selectByUserId(Integer user_id,Integer checkState);

    List<ProductCartDto> selectAllMerByUserId(Integer user_id, Integer checkState);

    int changeState(Long user_id,ProductCart ProductCart, Integer checkState,int is_all);
}
